package com.jingdun.sport.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@TableName("trends")
public class Trends {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private Long activeConfigId;

    @TableField(exist = false)
    private Boolean isFollow;

    private Integer classes;

    private Date gmtCreate;

    /**
     * 用户长id
     */
    private String userId;

    @TableField(exist = false)
    private String logo;

    @TableField(exist = false)
    private String nickName;
    @TableField(exist = false)
    private String pic;

    @TableField(exist = false)
    private String userMemo;

    /**
     * 动态信息内容
     */
    private String content;

    private String videoUrl;

    private Integer enable;

    private String bePkUserId;

    /**
     * 点赞个数
     */
    private Integer supportCount;

    @TableField(exist = false)
    private Boolean hasSupport;

    /**
     * 评论记录数
     */
    private Integer chatCount;

    /**
     * 转发个数
     */
    private Integer relayCount;

    private Long roomId;

    /**
     * 图片列表
     */
    @TableField(exist = false)
    private List<String> pics;

    /**
     * 0图片，1视频
     */
    private Integer type;
}
